import 'package:flutter/material.dart';

class FloatActionBtnWidget extends StatelessWidget {
  // BuildContext context;
  const FloatActionBtnWidget({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      width: 46,
      height: 46,
      child: Icon(
        Icons.add,
        color: Colors.white,
      ),
      decoration: BoxDecoration(
        gradient: LinearGradient(
          begin: Alignment.centerLeft,
          end: Alignment.centerRight,
          colors: [
            Theme.of(context).highlightColor,
            Theme.of(context).accentColor,
          ],
        ),
        borderRadius: BorderRadius.circular(60),
      ),
    );
  }
}
